package com.sharer.last.model.dto.blog;

import com.sharer.last.base.model.BaseDTO;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * 受保护文章密码DTO
 *
 * @ClassName BlogPasswordDTO
 * @Author wangjin
 * @Date 2023/5/5 20:28
 * @Description
 * @Version 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
public class BlogPasswordDTO extends BaseDTO {
    @NotNull
    private Long blogId;

    private String password;
}
